
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>如何添加参考文献 · GitBook学习笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="yangjh">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-ace/ace.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-quiz/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-bibtex-indexed-cite/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism-solarizedlight.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="Url-embed.html" />
    
    
    <link rel="prev" href="Exercise.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://yangzh.cn" target="_blank" class="custom-link">Home</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">基础问题</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                        <b>1.1.</b>
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="Step.html">
            
                <a href="Step.html">
            
                    
                        <b>1.2.</b>
                    
                    使用GitBook制作文档的步骤是怎样的
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="Contents.html">
            
                <a href="Contents.html">
            
                    
                        <b>1.3.</b>
                    
                    如何制作多级目录
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">markdown</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="Image.html">
            
                <a href="Image.html">
            
                    
                        <b>2.1.</b>
                    
                    如何插入图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../md/pipe.html">
            
                <a href="../md/pipe.html">
            
                    
                        <b>2.2.</b>
                    
                    如何在表格的内容中使用竖线|
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../md/url.html">
            
                <a href="../md/url.html">
            
                    
                        <b>2.3.</b>
                    
                    如何在url中使用括号
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">功能拓展</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="Plugins.html">
            
                <a href="Plugins.html">
            
                    
                        <b>3.1.</b>
                    
                    如何安装插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="Recommand.html">
            
                <a href="Recommand.html">
            
                    
                        <b>3.2.</b>
                    
                    常用的插件都有哪些
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="Highlight.html">
            
                <a href="Highlight.html">
            
                    
                        <b>3.3.</b>
                    
                    如何高亮代码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="Include.html">
            
                <a href="Include.html">
            
                    
                        <b>3.4.</b>
                    
                    如何引入外部文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="Exercise.html">
            
                <a href="Exercise.html">
            
                    
                        <b>3.5.</b>
                    
                    添加测验功能
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="3.6" data-path="Reference.html">
            
                <a href="Reference.html">
            
                    
                        <b>3.6.</b>
                    
                    如何添加参考文献
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="Url-embed.html">
            
                <a href="Url-embed.html">
            
                    
                        <b>3.7.</b>
                    
                    如何插入外部页面
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">如何定制</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="Title.html">
            
                <a href="Title.html">
            
                    
                        <b>4.1.</b>
                    
                    如何更改电子书的标题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="Css.html">
            
                <a href="Css.html">
            
                    
                        <b>4.2.</b>
                    
                    如何自定义样式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="Number.html">
            
                <a href="Number.html">
            
                    
                        <b>4.3.</b>
                    
                    如何为目录添加序号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="Sidebar.html">
            
                <a href="Sidebar.html">
            
                    
                        <b>4.4.</b>
                    
                    如何在左侧导航栏添加链接
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">托管问题</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../UsingPages.html">
            
                <a href="../UsingPages.html">
            
                    
                        <b>5.1.</b>
                    
                    如何托管到Pages上
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">多人协作</li>
        
        
    
        <li class="chapter " data-level="6.1" data-path="../Collaborate.html">
            
                <a href="../Collaborate.html">
            
                    
                        <b>6.1.</b>
                    
                    如何实现多人协作
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="../References.html">
            
                <a href="../References.html">
            
                    
                        <b>7.1.</b>
                    
                    参考文献
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >如何添加参考文献</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5982;&#x4F55;&#x6DFB;&#x52A0;&#x53C2;&#x8003;&#x6587;&#x732E;">&#x5982;&#x4F55;&#x6DFB;&#x52A0;&#x53C2;&#x8003;&#x6587;&#x732E;</h1>
<p>GitBook&#x9879;&#x76EE;&#x521B;&#x5EFA;&#x65F6;&#x95F4;&#x4E0D;&#x957F;&#xFF0C;&#x6709;&#x4E9B;&#x529F;&#x80FD;&#x53EF;&#x80FD;&#x8FD8;&#x6CA1;&#x6709;&#x63D2;&#x4EF6;&#xFF0C;&#x6216;&#x8005;&#x6709;&#x4E9B;&#x63D2;&#x4EF6;&#x7684;&#x529F;&#x80FD;&#x5E76;&#x4E0D;&#x5B8C;&#x5584;&#xFF0C;&#x6BD4;&#x5982;&#x53C2;&#x8003;&#x6587;&#x732E;&#x7684;&#x63D2;&#x4EF6;&#x3002;GitBook&#x6709;&#x591A;&#x4E2A;&#x4F7F;&#x7528;bibtex&#x751F;&#x6210;&#x53C2;&#x8003;&#x6587;&#x732E;&#x7684;&#x683C;&#x5F0F;&#xFF0C;&#x591A;&#x6570;&#x5F88;&#x5C11;&#x66F4;&#x65B0;&#xFF0C;&#x4E14;&#x529F;&#x80FD;&#x8FC7;&#x4E8E;&#x7B80;&#x5355;&#x3002;</p>
<h2 id="&#x5B89;&#x88C5;&#x548C;&#x914D;&#x7F6E;">&#x5B89;&#x88C5;&#x548C;&#x914D;&#x7F6E;</h2>
<ul>
<li>&#x5728;<code>book.json</code>&#x4E2D;&#x6DFB;&#x52A0;&#x5982;&#x4E0B;&#x5185;&#x5BB9;&#x540E;&#x8FD0;&#x884C;<code>gitbook install</code>:</li>
</ul>
<pre class="language-"><code class="lang-json"> <span class="token property">&quot;plugins&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&quot;bibtex-indexed-cite&quot;</span><span class="token punctuation">]</span><span class="token punctuation">,</span>


 <span class="token property">&quot;bibtex-indexed-cite&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;path&quot;</span><span class="token operator">:</span> <span class="token string">&quot;/&quot;</span>
        <span class="token punctuation">}</span>
</code></pre>
<p>&#x5176;&#x4E2D;path&#x7528;&#x6765;&#x6307;&#x5B9A;&#x53C2;&#x8003;&#x6587;&#x732E;&#x5E93;&#x201C;literature.bib&#x201D;&#x6240;&#x5728;&#x7684;&#x8DEF;&#x5F84;&#x3002;</p>
<ul>
<li>&#x5728;&#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;&#xFF0C;&#x65B0;&#x589E;literature.bib&#x548C;References.md&#x4E24;&#x4E2A;&#x6587;&#x4EF6;&#xFF0C;&#x5176;&#x4E2D;literature.bib&#x7528;&#x6765;&#x5B58;&#x653E;&#x53C2;&#x8003;&#x6587;&#x732E;&#x6570;&#x636E;&#xFF0C;References.md&#x6587;&#x4EF6;&#x4E2D;&#x5199;&#x5165;&#x5982;&#x4E0B;&#x5185;&#x5BB9;&#xFF1A;</li>
</ul>
<pre class="language-"><code class="lang-markdown">{% references %} {% endreferences %}
</code></pre>
<h2 id="&#x7528;&#x6CD5;">&#x7528;&#x6CD5;</h2>
<p>&#x5728;&#x9700;&#x8981;&#x5F15;&#x7528;&#x53C2;&#x8003;&#x6587;&#x732E;&#x7684;&#x5730;&#x65B9;&#x4F7F;&#x7528;&#x5982;&#x4E0B;&#x547D;&#x4EE4;&#xFF1A;<code>{{&quot;GitBook.com-2017&quot;|cite}}</code></p>
<pre class="language-"><code class="lang-markdown">{{ &quot;TLW&quot; | cite }}
</code></pre>
<p>&#x9700;&#x8981;&#x6CE8;&#x610F;&#xFF0C;&#x7B2C;&#x4E00;&#x3001;&#x5F15;&#x7528;&#x540D;&#x4E2D;&#x4E0D;&#x80FD;&#x6709;&#x4E2D;&#x6587;,&#x5982;<code>{{&quot;GitBook.com-2017&quot;|cite}}</code>&#x4E0D;&#x80FD;&#x4E3A;<code>{{&quot;&#x4E2D;&#x6587;&#x540D;&#x79F0;-2017&quot;|cite}}</code>&#xFF1B;&#x7B2C;&#x4E8C;&#x3001;&#x53C2;&#x8003;&#x6587;&#x732E;&#x9700;&#x8981;&#x5355;&#x72EC;&#x7528;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x751F;&#x6210;&#xFF0C;&#x6587;&#x4EF6;&#x540D;&#x4E3A;&#x201C;References.md&#x201D;&#x3002;</p>
<h2 id="&#x8BBE;&#x5B9A;&#x53C2;&#x8003;&#x6587;&#x732E;&#x6837;&#x5F0F;">&#x8BBE;&#x5B9A;&#x53C2;&#x8003;&#x6587;&#x732E;&#x6837;&#x5F0F;</h2>
<p><code>bibtex-indexed-cite</code>&#x63D2;&#x4EF6;&#xFF0C;&#x76EE;&#x524D;&#x53EA;&#x652F;&#x6301;IEEE&#x7684;&#x5F15;&#x6587;&#x683C;&#x5F0F;&#xFF0C;&#x4E14;&#x5F15;&#x7528;&#x6CA1;&#x6709;&#x4E0A;&#x6807;&#xFF0C;&#x53EF;&#x901A;&#x8FC7;&#x81EA;&#x5B9A;&#x4E49;&#x6837;&#x5F0F;&#x8868;&#x5B9E;&#x73B0;&#x4E0A;&#x6807;&#x6548;&#x679C;&#xFF1A;</p>
<pre class="language-"><code class="lang-css"><span class="token selector">a[href*=&quot;#cite&quot;]</span> <span class="token punctuation">{</span>
    <span class="token property">vertical-align</span><span class="token punctuation">:</span> super<span class="token punctuation">;</span>
    <span class="token property">font-size</span><span class="token punctuation">:</span> 0.8em<span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> By <a href="http://yangzh.cn" target="_blank">yangzh</a>&#xFF0C;&#x4F7F;&#x7528;<a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">&#x77E5;&#x8BC6;&#x5171;&#x4EAB; &#x7F72;&#x540D;-&#x76F8;&#x540C;&#x65B9;&#x5F0F;&#x5171;&#x4EAB; 4.0&#x534F;&#x8BAE;</a>&#x53D1;&#x5E03; </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> &#x6B64;&#x9875;&#x9762;&#x4FEE;&#x8BA2;&#x4E8E;&#xFF1A; 2018-10-18 22:29:15 </span> </footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="Exercise.html" class="navigation navigation-prev " aria-label="Previous page: 添加测验功能">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="Url-embed.html" class="navigation navigation-next " aria-label="Next page: 如何插入外部页面">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"如何添加参考文献","level":"3.6","depth":1,"next":{"title":"如何插入外部页面","level":"3.7","depth":1,"path":"faq/Url-embed.md","ref":"faq/Url-embed.md","articles":[]},"previous":{"title":"添加测验功能","level":"3.5","depth":1,"path":"faq/Exercise.md","ref":"faq/Exercise.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","sharing-plus","include-codeblock","ace","quiz","-lunr","-search","search-pro","collapsible-menu","bibtex-indexed-cite","-livereload","prism","-highlight","url-embed","page-footer-ex"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"css":["prismjs/themes/prism-solarizedlight.css"]},"collapsible-menu":{},"ace":{},"page-footer-ex":{"copyright":"By [yangzh](http://yangzh.cn)，使用[知识共享 署名-相同方式共享 4.0协议](https://creativecommons.org/licenses/by-sa/4.0/)发布","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"此页面修订于："},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"fontsettings":{"theme":"white","family":"sans","size":2},"bibtex-indexed-cite":{"path":"/"},"quiz":{"labels":{"check":"提交答案","showExplanation":"显示解释","showCorrect":"显示正确答案","explanationHeader":"释义"},"text":{"noChosen":"Choose at least one answer","incomplete":"Some correct answers are missing"},"buttons":{"showCorrect":true,"showExplanation":true}},"url-embed":{},"include-codeblock":{"check":false,"edit":false,"fixlang":false,"lang":"","template":"ace","theme":"chrome","unindent":true},"sharing":{"qq":true,"all":["facebook","google","twitter","weibo","qq","linkedin","qzone","douban"],"douban":false,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true}},"theme":"default","author":"yangjh","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"bibCount":0,"variables":{},"title":"GitBook学习笔记","links":{"sidebar":{"Home":"http://yangzh.cn"}},"bib":[{"citationKey":"GITBOOK.COM-2017","entryType":"ONLINE","entryTags":{"AUTHOR":"GitBook.com","TITLE":"GitBook Toolchain Documentation","YEAR":"2017","URL":"https://toolchain.gitbook.com/","URLDATE":"2017-06-05","FILE":"About this documentation · GitBook Toolchain Documentation:/Users/yangjh/Library/Application Support/Firefox/Profiles/qajuyzo4.default/zotero/storage/EQCVEXJ7/toolchain.gitbook.com.html:text/html"}}],"gitbook":"*"},"file":{"path":"faq/Reference.md","mtime":"2018-10-18T14:29:15.271Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-03T05:15:23.933Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-quiz/script.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-collapsible-menu/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

